package com.rose.doorto.footbathdoor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rose.doorto.footbathdoor.pojo.Project;
import com.rose.doorto.footbathdoor.util.Result;

import java.util.List;

/**
 * <p>
 *     服务项目表  服务类
 * </p>
 * @Author 李庆超
 * @email 1481791489@qq.com
 * @Package：com.rose.doorto.footbathdoor.service
 * @Project：door-to-door
 * @name：IProjectService
 * @date 2024/07/10 2024/7/10:10:46:
 */
public interface IProjectService extends IService<Project> {


    /**
     * 查看项目详情
     * @param id
     * @return
     */
    Result getProjectById(int id);


    /**
     * 获取当前技师的服务项目列表
     * @param tid
     * @return
     */
    List<Project> getProjectListById(Integer tid);

}
